package com.aviation.sell_ticket.service.impl;

import com.aviation.sell_ticket.mapper.ModelMapper;
import com.aviation.sell_ticket.pojo.Aviation_model;
import com.aviation.sell_ticket.service.ModelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ModelServiceImpl implements ModelService {

    @Resource
    private ModelMapper modelMapper;//引入ModelMapper

    @Override
    public Aviation_model queryModel(Integer modelId) {
        return modelMapper.queryModel(modelId);
    }
}
